using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using DG.Tweening;
using TitanX;
/// <summary>
/// 预先移动的方块体
/// </summary>
public class PreMoveFk : SingletonGetMono<PreMoveFk>
{

  
    // Start is called before the first frame update
    void Start()
    {
        
    }

    // Update is called once per frame
    void Update()
    {
        
    }

    //移动到指定位置
    public void ChangeSolid() {

        /*
        SpriteRenderer spriteRenderer = gameObject.GetComponent<SpriteRenderer>();
        spriteRenderer.DOFade(1, 0.3f);
        */
        LockingManger.Instance.MovePosition(gameObject.transform.position);

    }

    //隐藏方块
    public void Hide() {
        gameObject.GetComponent<SpriteRenderer>().DOFade(0, 0.2f);
    }



    //探索资源，自行改变颜色


}
